package com.mind.xagame.message.model;
import java.util.List;
import java.util.ArrayList;
import com.mind.common.MessageCode;
import com.mind.core.net.msg.BaseMessage;
import java.util.Date;
import com.mind.core.annotation.Message;
/**bbb
*自动生成类
*/
@Message
public class Bbb extends BaseMessage{
	/**bb*/
	private Integer bbb;
	/**vvvv*/
	private Bbbb vvv;
	/**uuuu*/
	private Bbbb uuuu;
	/**mmmm*/
	private List<Bbbb> mmmm;
	public Bbb(){}
	public Bbb(Integer bbb,Bbbb vvv,Bbbb uuuu,List<Bbbb> mmmm){
	  this.bbb=bbb;
	  this.vvv=vvv;
	  this.uuuu=uuuu;
	  this.mmmm=mmmm;
	}
	/**获取bb*/
	public Integer getBbb(){
		return this.bbb;
	}
	/**获取vvvv*/
	public Bbbb getVvv(){
		return this.vvv;
	}
	/**获取uuuu*/
	public Bbbb getUuuu(){
		return this.uuuu;
	}
	/**获取mmmm*/
	public List<Bbbb> getMmmm(){
		return this.mmmm;
	}
	public boolean readImpl() {
		this.bbb=readInteger();
		Bbbb param2=new Bbbb();
		readMessage(param2);
		this.vvv=param2;
		Bbbb param3=new Bbbb();
		readMessage(param3);
		this.uuuu=param3;
		short size=readShort();
		this.mmmm=new ArrayList<Bbbb>(size);
		for(int i=0;i<size;i++){
			Bbbb param4=new Bbbb();
			readMessage(param4);
			this.mmmm.add(param4);
		}
		return true;
	}
	public boolean writeImpl() {
		writeInteger(this.bbb);
		writeMessage(this.vvv);
		writeMessage(this.uuuu);
		short size=(short)this.mmmm.size();
		writeShort(size);
		for(int i=0;i<size;i++){
			Bbbb param4=this.mmmm.get(i);
			writeMessage(param4);
		}
		return true;
	}
	public short getType() {
		return MessageCode.Bbb_CODE;
	}
}
